package com.jingdianjichi.subject.application.converter;

import com.jingdianjichi.subject.application.dto.SubjectAnswerDTO;
import com.jingdianjichi.subject.application.dto.SubjectInfoDTO;
import com.jingdianjichi.subject.eneity.SubjectAnswerBO;
import com.jingdianjichi.subject.eneity.SubjectInfoBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectAnswerDTOConverter {
    SubjectAnswerDTOConverter INSTANCE = Mappers.getMapper(SubjectAnswerDTOConverter.class);
    SubjectAnswerBO converterDtoToCategoryBo(SubjectAnswerDTO subjectAnswerDTO);
    List<SubjectAnswerDTO> converterBosToDtos(List<SubjectAnswerBO> subjectAnswerBOS);
    List<SubjectAnswerBO> converterDTOsToBos(List<SubjectAnswerDTO> subjectAnswerDTOS);

}
